package com.atguigu.principle.dependInversion.dependDeliver3Way.interfaceDeliver;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 依赖传递方式-1：接口传递（通过接口实现依赖传递）
 * @create: 2022-01-08 17:31
 **/
public class InterfaceDeliver {
    public static void main(String[] args) {
        OpenAndClose openAndClose = new OpenAndClose();
        openAndClose.open(new ChangHongTv());
    }
}
